package at.fhooe.mc.master.clc.shared.domain.metrics;

import com.googlecode.objectify.annotation.Embed;
import com.googlecode.objectify.annotation.Id;

@Embed
public class MetricTimeValue extends AbstractMetricValue
{
	private MetricsValueType metricsValueType;
	private double value;
	
	private MetricTimeValue() {}
	
	public MetricTimeValue(MetricsValueType metricsValueType, double value)
	{
		this.metricsValueType = metricsValueType;
		this.value = value;
	}
	

	@Override
	public MetricsValueType getMetricsValueType()
	{
		return this.metricsValueType;
	}


	@Override
	public double getValue()
	{
		return this.value;
	}


}
